package com.jyx.malls.pojo;

import lombok.Data;

import java.util.Date;

@Data
public class User {

    private Integer id;//编号

    private String username;//用户名

    private String password;//密码

    private String email;//邮箱

    private String phone;//电话

    private String question;//问题

    private String answer;//回答

    private Integer role;//角色

    private Date createTime;//创建时间

    private Date updateTime;//修改时间

    public User(String username, String password, String email,Integer role) {
        this.username = username;
        this.password = password;
        this.email = email;
        this.role=role;
    }
}